package com.ruoyi.threeViolation.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 三违登记记录对象 violation_register
 * 
 * @author lth
 * @date 2023-12-18
 */
public class ViolationRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 单据编码 */
    @Excel(name = "单据编码")
    private String volationCode;

    /** 违章单位 */
    @Excel(name = "违章单位")
    private String volationOrgan;

    /** 违章部门 */
    @Excel(name = "违章部门")
    private String volationDeptId;

    /** 违章部门名称 */
    @Excel(name = "违章部门名称")
    private String volationDeptName;

    /** 违章人 */
    @Excel(name = "违章人")
    private String volationUser;

    /** 违章人姓名 */
    @Excel(name = "违章人姓名")
    private String volationUserName;

    /** 违章人电话 */
    @Excel(name = "违章人电话")
    private String volationPhone;

    /** 违章位置ID */
    @Excel(name = "违章位置ID")
    private String volationLocationId;

    /** 违章位置 */
    @Excel(name = "违章位置")
    private String volationLocationName;

    /** 违章地点 */
    @Excel(name = "违章地点")
    private String volationPlace;

    /** 违章事实 */
    @Excel(name = "违章事实")
    private String volationFact;

    /** 发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date volationDate;

    /** 班次 */
    @Excel(name = "班次")
    private String volationShift;

    /** 违章类别 */
    @Excel(name = "违章类别")
    private String volationCategory;

    /** 违章等级 */
    @Excel(name = "违章等级")
    private String volationLevel;

    /** 整改方式 */
    @Excel(name = "整改方式")
    private String rectificationType;

    /** 整改开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectificationStart;

    /** 整改结束时间 */
    @Excel(name = "整改结束时间")
    private String rectificationEnd;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String handleStatus;

    /** 复查状态 */
    @Excel(name = "复查状态")
    private String reviewStatus;

    /** 审核状态 1-待提交 2-待审核 3-审核完成 4-审核驳回 */
    @Excel(name = "审核状态 1-待提交 2-待审核 3-审核完成 4-审核驳回")
    private String auditStatus;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人姓名 */
    @Excel(name = "更新人姓名")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 联责人类型 0:值班干部 1:跟班干部 2:班组长 3:安检员 */
    @Excel(name = "联责人类型 0:值班干部 1:跟班干部 2:班组长 3:安检员")
    private Integer jointResponsibleType;

    /** 三违模板ID */
    @Excel(name = "三违模板ID")
    private String violationTemplateId;

    /** 考核责任人金额 */
    @Excel(name = "考核责任人金额")
    private BigDecimal responsiblePersonAmount;

    /** 值班干部金额 */
    @Excel(name = "值班干部金额")
    private BigDecimal dutyAmount;

    /** 跟班干部金额 */
    @Excel(name = "跟班干部金额")
    private BigDecimal attendantAmount;

    /** 班组长金额 */
    @Excel(name = "班组长金额")
    private BigDecimal teamLeaderAmount;

    /** 安监人员金额 */
    @Excel(name = "安监人员金额")
    private BigDecimal safetyAmount;

    /** 模板编号 */
    @Excel(name = "模板编号")
    private String templateCode;

    /** 三违名称 */
    @Excel(name = "三违名称")
    private String templateName;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String attachmentPath;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setVolationCode(String volationCode) 
    {
        this.volationCode = volationCode;
    }

    public String getVolationCode() 
    {
        return volationCode;
    }
    public void setVolationOrgan(String volationOrgan) 
    {
        this.volationOrgan = volationOrgan;
    }

    public String getVolationOrgan() 
    {
        return volationOrgan;
    }
    public void setVolationDeptId(String volationDeptId) 
    {
        this.volationDeptId = volationDeptId;
    }

    public String getVolationDeptId() 
    {
        return volationDeptId;
    }
    public void setVolationDeptName(String volationDeptName) 
    {
        this.volationDeptName = volationDeptName;
    }

    public String getVolationDeptName() 
    {
        return volationDeptName;
    }
    public void setVolationUser(String volationUser) 
    {
        this.volationUser = volationUser;
    }

    public String getVolationUser() 
    {
        return volationUser;
    }
    public void setVolationUserName(String volationUserName) 
    {
        this.volationUserName = volationUserName;
    }

    public String getVolationUserName() 
    {
        return volationUserName;
    }
    public void setVolationPhone(String volationPhone) 
    {
        this.volationPhone = volationPhone;
    }

    public String getVolationPhone() 
    {
        return volationPhone;
    }
    public void setVolationLocationId(String volationLocationId) 
    {
        this.volationLocationId = volationLocationId;
    }

    public String getVolationLocationId() 
    {
        return volationLocationId;
    }
    public void setVolationLocationName(String volationLocationName) 
    {
        this.volationLocationName = volationLocationName;
    }

    public String getVolationLocationName() 
    {
        return volationLocationName;
    }
    public void setVolationPlace(String volationPlace) 
    {
        this.volationPlace = volationPlace;
    }

    public String getVolationPlace() 
    {
        return volationPlace;
    }
    public void setVolationFact(String volationFact) 
    {
        this.volationFact = volationFact;
    }

    public String getVolationFact() 
    {
        return volationFact;
    }
    public void setVolationDate(Date volationDate) 
    {
        this.volationDate = volationDate;
    }

    public Date getVolationDate() 
    {
        return volationDate;
    }
    public void setVolationShift(String volationShift) 
    {
        this.volationShift = volationShift;
    }

    public String getVolationShift() 
    {
        return volationShift;
    }
    public void setVolationCategory(String volationCategory) 
    {
        this.volationCategory = volationCategory;
    }

    public String getVolationCategory() 
    {
        return volationCategory;
    }
    public void setVolationLevel(String volationLevel) 
    {
        this.volationLevel = volationLevel;
    }

    public String getVolationLevel() 
    {
        return volationLevel;
    }
    public void setRectificationType(String rectificationType) 
    {
        this.rectificationType = rectificationType;
    }

    public String getRectificationType() 
    {
        return rectificationType;
    }
    public void setRectificationStart(Date rectificationStart) 
    {
        this.rectificationStart = rectificationStart;
    }

    public Date getRectificationStart() 
    {
        return rectificationStart;
    }
    public void setRectificationEnd(String rectificationEnd) 
    {
        this.rectificationEnd = rectificationEnd;
    }

    public String getRectificationEnd() 
    {
        return rectificationEnd;
    }
    public void setHandleStatus(String handleStatus) 
    {
        this.handleStatus = handleStatus;
    }

    public String getHandleStatus() 
    {
        return handleStatus;
    }
    public void setReviewStatus(String reviewStatus) 
    {
        this.reviewStatus = reviewStatus;
    }

    public String getReviewStatus() 
    {
        return reviewStatus;
    }
    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName) 
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName() 
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setJointResponsibleType(Integer jointResponsibleType) 
    {
        this.jointResponsibleType = jointResponsibleType;
    }

    public Integer getJointResponsibleType() 
    {
        return jointResponsibleType;
    }
    public void setViolationTemplateId(String violationTemplateId) 
    {
        this.violationTemplateId = violationTemplateId;
    }

    public String getViolationTemplateId() 
    {
        return violationTemplateId;
    }
    public void setResponsiblePersonAmount(BigDecimal responsiblePersonAmount) 
    {
        this.responsiblePersonAmount = responsiblePersonAmount;
    }

    public BigDecimal getResponsiblePersonAmount() 
    {
        return responsiblePersonAmount;
    }
    public void setDutyAmount(BigDecimal dutyAmount) 
    {
        this.dutyAmount = dutyAmount;
    }

    public BigDecimal getDutyAmount() 
    {
        return dutyAmount;
    }
    public void setAttendantAmount(BigDecimal attendantAmount) 
    {
        this.attendantAmount = attendantAmount;
    }

    public BigDecimal getAttendantAmount() 
    {
        return attendantAmount;
    }
    public void setTeamLeaderAmount(BigDecimal teamLeaderAmount) 
    {
        this.teamLeaderAmount = teamLeaderAmount;
    }

    public BigDecimal getTeamLeaderAmount() 
    {
        return teamLeaderAmount;
    }
    public void setSafetyAmount(BigDecimal safetyAmount) 
    {
        this.safetyAmount = safetyAmount;
    }

    public BigDecimal getSafetyAmount() 
    {
        return safetyAmount;
    }
    public void setTemplateCode(String templateCode) 
    {
        this.templateCode = templateCode;
    }

    public String getTemplateCode() 
    {
        return templateCode;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setAttachmentPath(String attachmentPath) 
    {
        this.attachmentPath = attachmentPath;
    }

    public String getAttachmentPath() 
    {
        return attachmentPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("volationCode", getVolationCode())
            .append("volationOrgan", getVolationOrgan())
            .append("volationDeptId", getVolationDeptId())
            .append("volationDeptName", getVolationDeptName())
            .append("volationUser", getVolationUser())
            .append("volationUserName", getVolationUserName())
            .append("volationPhone", getVolationPhone())
            .append("volationLocationId", getVolationLocationId())
            .append("volationLocationName", getVolationLocationName())
            .append("volationPlace", getVolationPlace())
            .append("volationFact", getVolationFact())
            .append("volationDate", getVolationDate())
            .append("volationShift", getVolationShift())
            .append("volationCategory", getVolationCategory())
            .append("volationLevel", getVolationLevel())
            .append("rectificationType", getRectificationType())
            .append("rectificationStart", getRectificationStart())
            .append("rectificationEnd", getRectificationEnd())
            .append("handleStatus", getHandleStatus())
            .append("reviewStatus", getReviewStatus())
            .append("auditStatus", getAuditStatus())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("jointResponsibleType", getJointResponsibleType())
            .append("violationTemplateId", getViolationTemplateId())
            .append("responsiblePersonAmount", getResponsiblePersonAmount())
            .append("dutyAmount", getDutyAmount())
            .append("attendantAmount", getAttendantAmount())
            .append("teamLeaderAmount", getTeamLeaderAmount())
            .append("safetyAmount", getSafetyAmount())
            .append("templateCode", getTemplateCode())
            .append("templateName", getTemplateName())
            .append("attachmentPath", getAttachmentPath())
            .toString();
    }
}
